 |
 |
 |
 |
 |
 |
 |
 |
|
|
 |
Structures
|
|
Declaration
|
|
|
|
|
 |
 |
 |
 |
 |
struct student{
|
|
|
int Age;
|
|
|
float Salary;
|
|
|
};
|
|
|
struct student
John, Mary;
|
|
John.Age = 20;
|
|
|
|
|
|
|
 |
 |
 |
|
Structure type
|
|
 |
|
|
|
|
|
|
Structure
variable
|
 |
|
|
|
|
|
|
|
|
|
 |
 |
 |
 |
typedef struct
student{
|
|
int Age;
|
|
|
float Salary;
|
|
|
} STUDENT;
|
|
|
STUDENT John,
Mary;
|
|
|
|
|
|
|
 |
 |
 |
struct
{
|
|
VARIABLES;
|
|
|
|
} StructureVariable;
|
|
|
|